#ifndef DLGOPENPROJECT_H
#define DLGOPENPROJECT_H

#include <QDialog>
#include "projectslistmodel.h"

namespace Ui {
class DlgOpenProject;
}

class DlgOpenProject : public QDialog
{
    Q_OBJECT
    
public:
    explicit DlgOpenProject(ProjectsListModel* prjlist, QWidget *parent = 0);
    ~DlgOpenProject();

private slots:
    void m_tableView_onSelection (QModelIndex index);

    void accept(void);
    void reject(void);

    void on_toolButton_remove_clicked();

private:
    Ui::DlgOpenProject *ui;
    ProjectsListModel *m_prjlist;
    bool m_tableViewSelected;
     int m_rowSelected;
};

#endif // DLGOPENPROJECT_H
